; $s_file - Optional for "Drives" only: what to get i.e *.*
; Requirement: None
; Return Value(s): zero-based index of the last name added to the list
; If an error occurs, the return value is $CB_ERR.
; If there is insufficient space to store the new strings, the return value is $CB_ERRSPACE
; User CallTip: _GUICtrlComboAddDir($h_combobox, $s_Attributes[, $s_file=""]) Add names to the list displayed by the combo box (required: <GuiCombo.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; Note(s): $s_Attributes is an comma-delimited string
; valid values are any of the following:
; A,D,H,RO,RW,S,E,Drives,NB
; A = ARCHIVE
; Includes archived files.
; D = DIRECTORY
; Includes subdirectories. Subdirectory names are enclosed in square brackets ([ ]).
; H = HIDDEN
; Includes hidden files.
; RO = READONLY
; Includes read-only files.
; RW = READWRITE
; Includes read-write files with no additional attributes. This is the default setting.
; S = SYSTEM
; Includes system files.
; E = EXCLUSIVE
; Includes only files with the specified attributes. By default, read-write files are listed even if READWRITE is not specified.
; DRIVES
; All mapped drives are added to the list. Drives are listed in the form [-x-], where x is the drive letter.
; NB = No Brackets
; Drives are liste in the form x:, where x is the drive letter (used with Drives attribute)
; Return Value(s): The return value is the zero-based index of the currently selected item.
; If no item is selected, it is $CB_ERR
; User CallTip: _GUICtrlComboGetCurSel($h_combobox) Retrieve the index of the currently selected item, if any, in the list box of a combo box (required: <GuiCombo.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; Return Value(s): Array containing the RECT, first element ($array[0]) contains the number of elements
; If an error occurs, the return value is $CB_ERR.
; User CallTip: _GUICtrlComboGetDroppedControlRect($h_combobox) Retrieve the screen coordinates of a combo box in its dropped-down state. (required: <GuiCombo.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; Requirement: CBS_DROPDOWN or CBS_DROPDOWNLIST style
; Return Value(s): If the message succeeds, the return value is the width, in pixels.
; If the message fails, the return value is $CB_ERR
; User CallTip: _GUICtrlComboGetDroppedWidth($h_combobox) Retrieve the minimum allowable width, of the list box of a combo box (required: <GuiCombo.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; Return Value(s): Array containing the starting and ending selected positions, first element ($array[0]) contains the number of elements
; If an error occurs, the return value is $CB_ERR.
; User CallTip: _GUICtrlComboGetEditSel($h_combobox) Get the starting and ending character positions of the current selection in the edit control of a combo box. (required: <GuiCombo.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; Return Value(s): If the combo box has the extended user interface,
; the return value is TRUE; otherwise, it is FALSE
; User CallTip: _GUICtrlComboGetExtendedUI($h_combobox) Determine whether a combo box has the default user interface or the extended user interface (required: <GuiCombo.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; Note(s): By default, the F4 key opens or closes the list and the
; DOWN ARROW changes the current selection.
; In a combo box with the extended user interface, the F4
; key is disabled and pressing the DOWN ARROW key opens the
; $i_index - Specifies the zero-based index of the string
; Requirement: None
; Return Value(s): The return value is the height, in pixels, of the list items in a combo box.
; If the combo box has the CBS_OWNERDRAWVARIABLE style, it is the height of the
; item specified by the $i_index parameter. If $i_index is û1, the return value
; is the height of the edit control (or static-text) portion of the combo box.
; If an error occurs, the return value is $CB_ERR
; User CallTip: _GUICtrlComboGetItemHeight($h_combobox[, $i_index=-1]) Determine the height of list items or the selection field in a combo box (required: <GuiCombo.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; $i_index - Specifies the zero-based index of the string to retrieve.
; $s_text - Buffer that receives the string
; Requirement: None
; Return Value(s): The return value is the length of the string, in TCHARs,
; excluding the terminating null character.
; If $i_index does not specify a valid index, the return value is $CB_ERR.
; User CallTip: _GUICtrlComboGetLBText($h_combobox, $i_index, ByRef $s_text) Retrieve a string from the list of a combo box. (required: <GuiCombo.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; Note(s): Must call _GUICtrlComboGetLBTextLen 1st and get the length
; $i_index - Specifies the zero-based index of the string
; Requirement: None
; Return Value(s): The return value is the length of the string, in TCHARs,
; excluding the terminating null character.
; If an ANSI string this is the number of bytes, and if it
; is a Unicode string this is the number of characters.
; If the $i_index parameter does not specify a valid index,
; the return value is $CB_ERR
; User CallTip: _GUICtrlComboGetLBTextLen($h_combobox, $i_index) Retrieve the length, in characters, of a string in the list of a combo box (required: <GuiCombo.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; Note(s): Under certain conditions, the return value is larger than the
; actual length of the text. This occurs with certain mixtures of
; ANSI and Unicode, and is due to the operating system allowing for
; the possible existence of double-byte character set (DBCS) characters
; within the text. The return value, however, will always be at least
; as large as the actual length of the text; so you can always use it
; to guide buffer allocation.
; This behavior can occur when an application uses both ANSI functions
; and common dialogs, which use Unicode.
; To obtain the exact length of the text, use the WM_GETTEXT, LB_GETTEXT,
; or CB_GETLBTEXT messages, or the GetWindowText function
; Return Value(s): The return value is the minimum number of visible items
; User CallTip: _GUICtrlComboGetMinVisible($h_combobox) Get the minimum number of visible items in the drop-down list of a combo box (required: <GuiCombo.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; Note(s): When the number of items in the drop-down list is greater
; than the minimum, the combo box uses a scrollbar.
; This message is ignored if the combo box control has style
; CBS_NOINTEGRALHEIGHT.
; To use CB_GETMINVISIBLE, the application must specify comctl32.dll
; version 6 in the manifest. For more information, see
; Return Value(s): If the message is successful, the return value is the index of the first
; visible item in the list box of the combo box.
; If the message fails, the return value is $CB_ERR
; User CallTip: _GUICtrlComboGetTopIndex($h_combobox) Retrieve the zero-based index of the first visible item in the list box portion of a combo box (required: <GuiCombo.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; Note(s): Initially, the item with index 0 is at the top of the list box,
; but if the list box contents have been scrolled, another item may be at the top
; $i_limit - Optional: Specifies the maximum number of characters the user can enter
; Requirement: None
; Return Value(s): None
; User CallTip: _GUICtrlComboLimitText($h_combobox[, $i_limit=0]) Limit the length of the text the user may type into the edit control of a combo box (required: <GuiCombo.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; Note(s): If the $i_limit parameter is zero, the text length is limited to 0x7FFFFFFE characters
; If the combo box does not have the CBS_AUTOHSCROLL style, setting the text limit to
; be larger than the size of the edit control has no effect.
; The CB_LIMITTEXT message limits only the text the user can enter.
; It has no effect on any text already in the edit control when the message is sent,
; nor does it affect the length of the text copied to the edit control when a string
; in the list box is selected.
; The default limit to the text a user can enter in the edit control is 30,000 characters
; $i_index - Specifies the zero-based index of the item preceding the first item to be searched
; $s_search - String that contains the characters for which to search
; Requirement: None
; Return Value(s): If the string is found, the return value is the index of the selected item.
; If the search is unsuccessful, the return value is $CB_ERR and the current selection is not changed
; User CallTip: _GUICtrlComboSelectString($h_combobox, $i_index, $s_search) Search the list of a combo box for an item that begins with the characters in a specified string (required: <GuiCombo.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; Note(s): When the search reaches the bottom of the list, it continues from the top
; of the list back to the item specified by the wParam parameter.
; If $i_index is û1, the entire list is searched from the beginning
; A string is selected only if the characters from the starting point
; Return Value(s): If the message succeeds, the return value is TRUE.
; If the message is sent to a combo box with the CBS_DROPDOWNLIST style, it is $CB_ERR
; User CallTip: _GUICtrlComboSetEditSel($h_combobox, $i_start, $i_stop) Select characters in the edit control of a combo box (required: <GuiCombo.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; Note(s): The positions are zero-based.
; The first character of the edit control is in the zero position.
; The first character after the last selected character is in the ending position.
; For example, to select the first four characters of the edit control,
; use a starting position of 0 and an ending position of 4
; $i_bool - Specifies whether the combo box uses the extended user interface or the default user interface
; Requirement: None
; Return Value(s): If the operation succeeds, the return value is CB_OKAY.
; If an error occurs, it is $CB_ERR
; User CallTip: _GUICtrlComboSetExtendedUI($h_combobox, $i_bool) Select either the default user interface or the extended user interface (required: <GuiCombo.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; Note(s): By default, the F4 key opens or closes the list and the
; DOWN ARROW changes the current selection. In the extended
; user interface, the F4 key is disabled and the DOWN ARROW
; key opens the drop-down list
; $i_bool specifies whether the combo box uses the extended
; user interface or the default user interface.
; A value of TRUE selects the extended user interface
; A value of FALSE selects the standard user interface
; $i_component - Specifies the component of the combo box for which to set the height
; $i_height - Specifies the height, in pixels, of the combo box component identified by $i_component
; Requirement: None
; Return Value(s): If the index or height is invalid, the return value is $CB_ERR
; User CallTip: _GUICtrlComboSetItemHeight($h_combobox, $i_component, $i_height) Set the height of list items or the selection field in a combo box (required: <GuiCombo.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; Note(s): $i_component parameter must be û1 to set the height of the selection field.
; It must be zero to set the height of list items, unless the combo box has
; the CBS_OWNERDRAWVARIABLE style. In that case, the $i_component parameter
; $i_minimum - Specifies the minimum number of visible items
; Requirement: None
; Return Value(s): If the message is successful, the return value is TRUE.
; Otherwise the return value is FALSE
; User CallTip: _GUICtrlComboSetMinVisible($h_combobox, $i_minimum) Set the minimum number of visible items in the drop-down list of a combo box (required: <GuiCombo.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; Note(s): When the number of items in the drop-down list is greater than the minimum,
; the combo box uses a scrollbar.
; By default, 30 is the minimum number of visible items.
; This message is ignored if the combo box control has style CBS_NOINTEGRALHEIGHT.
; To use CB_SETMINVISIBLE, the application must specify comctl32.dll version 6 in the manifest